import PageTool from './PageTool/index.vue'
import UploadExcel from './UploadExcel/index.vue'
import UploadFile from './UploadFile/index.vue'
import ScreenFull from './ScreenFull/index.vue'
import ThemePicker from './ThemePicker/index.vue'
import Lang from './lang/index.vue'
export default {
  // install函数是在通过Vue.use(插件名)的时候调用的，并且会自动传入Vue构造器
  install(Vue) {
    // 注册全局组件
    Vue.component('PageTools', PageTool)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('UploadFile', UploadFile)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
  }
}
